c program to insert an element in first position an array using function